package com.blog.common.utils;

import java.util.Collection;

public class StringsUtils {
    public static boolean isBlank(String str){
        return str == null || "".equals(str);
    }
    public static boolean isNotBlank(String str){
        return !isBlank(str);
    }

    public static boolean isEmpty(Collection c){
        return c == null || c.isEmpty();
    }

    public static boolean isNotEmpty(Collection c){
        return !isEmpty(c);
    }
}
